




E_车轮类型枚举 = [
	("TYPE_左前轮", "左前轮", "", 0),
	("TYPE_右前轮", "右前轮", "", 1),
	("TYPE_左后轮", "左后轮", "", 2),
	("TYPE_右后轮", "右后轮", "", 3),


	("TYPE_左后轮_1", "左后轮_1", "", 4),
	("TYPE_右后轮_1", "右后轮_1", "", 5),

	("TYPE_左后轮_2", "左后轮_2", "", 6),
	("TYPE_右后轮_2", "右后轮_2", "", 7),


	("TYPE_左后轮_3", "左后轮_3", "", 8),
	("TYPE_右后轮_3", "右后轮_3", "", 9),

	("TYPE_左后轮_4", "左后轮_4", "", 10),
	("TYPE_右后轮_4", "右后轮_4", "", 11),

	("TYPE_左后轮_5", "左后轮_5", "", 12),
	("TYPE_右后轮_5", "右后轮_5", "", 13),

	("TYPE_左后轮_6", "左后轮_6", "", 14),
	("TYPE_右后轮_6", "右后轮_6", "", 15),

	("TYPE_左后轮_7", "左后轮_7", "", 16),
	("TYPE_右后轮_7", "右后轮_7", "", 17),

	("TYPE_左后轮_8", "左后轮_8", "", 18),
	("TYPE_右后轮_8", "右后轮_8", "", 19),

	("TYPE_左后轮_9", "左后轮_9", "", 20),
	("TYPE_右后轮_9", "右后轮_9", "", 21),

	("TYPE_左后轮_10", "左后轮_10", "", 22),
	("TYPE_右后轮_10", "右后轮_10", "", 23),

	("TYPE_左后轮_11", "左后轮_11", "", 24),
	("TYPE_右后轮_11", "右后轮_11", "", 25),

	("TYPE_左后轮_12", "左后轮_12", "", 26),
	("TYPE_右后轮_12", "右后轮_12", "", 27),

	("TYPE_左后轮_13", "左后轮_13", "", 28),
	("TYPE_右后轮_13", "右后轮_13", "", 29),

	("TYPE_左后轮_14", "左后轮_14", "", 30),
	("TYPE_右后轮_14", "右后轮_14", "", 31),

	("TYPE_左后轮_15", "左后轮_15", "", 32),
	("TYPE_右后轮_15", "右后轮_15", "", 33),

	("TYPE_左后轮_16", "左后轮_16", "", 34),
	("TYPE_右后轮_16", "右后轮_16", "", 35),

	("TYPE_左后轮_17", "左后轮_17", "", 36),
	("TYPE_右后轮_17", "右后轮_17", "", 37),

]


def f_取车轮方位ID(name):
	if name == 'TYPE_左前轮':
		return 0
	elif name == 'TYPE_右前轮':
		return 1
	elif name == 'TYPE_左后轮':
		return 2
	elif name == 'TYPE_右后轮':
		return 3

	elif name == 'TYPE_左后轮_1':
		return 4
	elif name == 'TYPE_右后轮_1':
		return 5
	elif name == 'TYPE_左后轮_2':
		return 6
	elif name == 'TYPE_右后轮_2':
		return 7

	elif name == 'TYPE_左后轮_3':
		return 8
	elif name == 'TYPE_右后轮_3':
		return 9
	elif name == 'TYPE_左后轮_4':
		return 10
	elif name == 'TYPE_右后轮_4':
		return 11

	elif name == 'TYPE_左后轮_5':
		return 8
	elif name == 'TYPE_右后轮_5':
		return 9
	elif name == 'TYPE_左后轮_6':
		return 10
	elif name == 'TYPE_右后轮_6':
		return 11

	elif name == 'TYPE_左后轮_7':
		return 12
	elif name == 'TYPE_右后轮_7':
		return 13
	elif name == 'TYPE_左后轮_8':
		return 14
	elif name == 'TYPE_右后轮_8':
		return 15
	
	elif name == 'TYPE_左后轮_9':
		return 16
	elif name == 'TYPE_右后轮_9':
		return 17
	elif name == 'TYPE_左后轮_10':
		return 18
	elif name == 'TYPE_右后轮_10':
		return 19

	elif name == 'TYPE_左后轮_11':
		return 20
	elif name == 'TYPE_右后轮_11':
		return 21
	elif name == 'TYPE_左后轮_12':
		return 22
	elif name == 'TYPE_右后轮_12':
		return 23







g_轮胎参数ID_车轮物体 = 2

g_轮胎参数ID_半径 = 3
g_轮胎参数ID_重量 = 4
g_轮胎参数ID_精度 = 5

g_轮胎参数ID_手刹强度 = 6
g_轮胎参数ID_最大转向角度 = 7

g_轮胎参数ID_偏移坐标 = 8
g_轮胎参数ID_悬挂压缩方向 = 9
g_轮胎参数ID_静止状态外倾角 = 10
g_轮胎参数ID_最大下垂外倾角 = 11
g_轮胎参数ID_最大压缩外倾角 = 12




